﻿using Common.RunModels.Login;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Base.Api.Models
{
    public class LoginInfo
    {
        public LoginInfo()
        {
            this.Menus = new List<LoginMenuTreeNode>(); 
            this.RemoveFormVersionKeys = new List<string>();
            this.AuthForms = new List<LoginAuthForm>();
        }

        public List<LoginMenuTreeNode> Menus { get; set; }
         
        public List<string> RemoveFormVersionKeys { get; set; }

        public DateTime? FormVersionTime { get; set; }

        public List<LoginAuthForm> AuthForms { get; set; }

        /// <summary>
        /// 0-普通
        /// 1-管理员
        /// </summary>
        public int MemberRoleType { get; set; }

        public int RoleFiterOrgType { get; set; }

        public List<string> RoleOrgIds { get; set; } = new List<string>();
    }
}
